﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:CustomStyles.Styles">

    <SolidColorBrush Color="Green" x:Name="MyColor" />

    <ControlTemplate x:Name="ButtonTemplate">
        <Grid Height="200" Width="200" >
            <Path Height="200" Width="200" Stretch="Fill" Fill="{TemplateBinding Background}" Data="F1 M 256.796,259.312L 244.147,196.138L 290.764,151.665L 226.773,144.172L 198.882,86.0943L 171.982,144.638L 108.128,153.217L 155.494,196.891L 143.921,260.271L 200.094,228.719L 256.796,259.312 Z "/>
            <ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="{TemplateBinding Foreground}"  />
        </Grid>
    </ControlTemplate>
    
</ResourceDictionary>
